<template>
  <div id="cc">
    <el-form ref="form" :model="form" label-width="70px" style="padding: 10px;">
      <div class="row">
        <div class="col-md-10">
          <div class="col-md-4">
            <el-form-item label="开始时间">
              <el-date-picker
                v-model="form.time_start"
                type="date"
                placeholder="选择日期">
              </el-date-picker>
            </el-form-item>
          </div>
          <div class="col-md-4">
            <el-form-item label="结束时间">
              <el-date-picker
                v-model="form.time_end"
                type="date"
                placeholder="选择日期">
              </el-date-picker>
            </el-form-item>
          </div>
          <div class="col-md-4">
            <el-form-item label="关键字">
              <el-input
                placeholder="请输入内容"
                prefix-icon="el-icon-search"
                clearable
                v-model="form.name">
              </el-input>
            </el-form-item>
          </div>
        </div>
        <div class="col-md-2">
          <!--<el-form-item>-->
            <el-button type="primary" icon="el-icon-search" size="medium">查询</el-button>
          <!--</el-form-item>-->
        </div>
        <mu-divider/>
        <div class="col-md-12" >

          <div class="col-md-3" style="padding: 5px;"   @click="Fileitemclick()">
            <el-card :body-style="{ padding: '0px' }" style="margin-left: 20px;margin-left: 20px;">
              <img src="../../src/assets/images/file.jpg" class="image">
              <div style="padding-left: 10px;padding-bottom:10px;padding-right: 10px;">
                <span>好吃的汉堡</span>
                <div class="bottom clearfix">
                  <span class="time">2017-4-25 11:20</span>
                  <el-button type="text" class="button"  icon="el-icon-share">分享</el-button>
                  <el-button type="text" class="button" icon="el-icon-delete">删除</el-button>
                </div>
              </div>
            </el-card>
          </div>
          <div class="col-md-3" style="padding: 5px;">
            <el-card :body-style="{ padding: '0px' }" style="margin-left: 15px;margin-left: 15px;">
              <img src="../../src/assets/images/file.jpg" class="image">
              <div style="padding-left: 10px;padding-bottom:10px;padding-right: 10px;">
                <span>好吃的汉堡</span>
                <div class="bottom clearfix">
                  <span class="time">2017-4-25 11:20</span>
                  <el-button type="text" class="button"  icon="el-icon-share">分享</el-button>
                  <el-button type="text" class="button" icon="el-icon-delete">删除</el-button>
                </div>
              </div>
            </el-card>
          </div>
          <div class="col-md-3" style="padding: 5px;">
            <el-card :body-style="{ padding: '0px' }" style="margin-left: 15px;margin-left: 15px;">
              <img src="../../src/assets/images/file.jpg" class="image">
              <div style="padding-left: 10px;padding-bottom:10px;padding-right: 10px;">
                <span>好吃的汉堡</span>
                <div class="bottom clearfix">
                  <span class="time">2017-4-25 11:20</span>
                  <el-button type="text" class="button"  icon="el-icon-share">分享</el-button>
                  <el-button type="text" class="button" icon="el-icon-delete">删除</el-button>
                </div>
              </div>
            </el-card>
          </div>
          <div class="col-md-3" style="padding: 5px;">
            <el-card :body-style="{ padding: '0px' }" style="margin-left: 15px;margin-left: 15px;">
              <img src="../../src/assets/images/file.jpg" class="image">
              <div style="padding-left: 10px;padding-bottom:10px;padding-right: 10px;">
                <span>好吃的汉堡</span>
                <div class="bottom clearfix">
                  <span class="time">2017-4-25 11:20</span>
                  <el-button type="text" class="button"  icon="el-icon-share">分享</el-button>
                  <el-button type="text" class="button" icon="el-icon-delete">删除</el-button>
                </div>
              </div>
            </el-card>
          </div>
          <div class="col-md-3" style="padding: 5px;">
            <el-card :body-style="{ padding: '0px' }" style="margin-left: 15px;margin-left: 15px;">
              <img src="../../src/assets/images/file.jpg" class="image">
              <div style="padding-left: 10px;padding-bottom:10px;padding-right: 10px;">
                <span>好吃的汉堡</span>
                <div class="bottom clearfix">
                  <span class="time">2017-4-25 11:20</span>
                  <el-button type="text" class="button"  icon="el-icon-share">分享</el-button>
                  <el-button type="text" class="button" icon="el-icon-delete">删除</el-button>
                </div>
              </div>
            </el-card>
          </div>
          <div class="col-md-3" style="padding: 5px;">
            <el-card :body-style="{ padding: '0px' }" style="margin-left: 15px;margin-left: 15px;">
              <img src="../../src/assets/images/file.jpg" class="image">
              <div style="padding-left: 10px;padding-bottom:10px;padding-right: 10px;">
                <span>好吃的汉堡</span>
                <div class="bottom clearfix">
                  <span class="time">2017-4-25 11:20</span>
                  <el-button type="text" class="button"  icon="el-icon-share">分享</el-button>
                  <el-button type="text" class="button" icon="el-icon-delete">删除</el-button>
                </div>
              </div>
            </el-card>
          </div>
          <!--<div class="col-md-3" style="padding: 5px;">-->
            <!--<el-card :body-style="{ padding: '0px' }">-->
              <!--<img src="../../src/assets/images/file.jpg" class="image">-->
              <!--<div style="padding: 14px;">-->
                <!--<span>好吃的汉堡</span>-->
                <!--<div class="bottom clearfix">-->
                  <!--<span class="time">2017-4-25 11:20</span>-->
                  <!--<el-button type="text" class="button">操作按钮</el-button>-->
                <!--</div>-->
              <!--</div>-->
            <!--</el-card>-->
          <!--</div>-->
        </div>
      </div>
    </el-form>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        form: {
          time_start: '',
          time_end: '',
          name: ''
        },
        currentDate: new Date()
      }
    },
    methods: {
      Fileitemclick() {
        this.$router.push({path: '/AlertList'});
        console.log('submit!');
      }
    }
  }
</script>
<style>
  .time {
    font-size: 13px;
    color: #999;
  }

  .bottom {
    margin-top: 13px;
    line-height: 12px;
  }

  .button {
    padding: 0;
    float: right;
  }

  .image {
    width:100%;
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }

  .clearfix:after {
    clear: both
  }
</style>
